<style lang="scss">
  .page-wrap{

  }

  .thumb{
    width: 710rpx;
    margin: 20rpx 20rpx;
    height: 400rpx;
    @include cover-img();

  }

</style>
<template>
  <view class="page-wrap">
    <view class="thumb" v-for="(item,idx) in imgs" :key="idx" :style="{backgroundImage:'url('+item+')'}"></view>
  </view>
</template>

<script>
import { pageMixin } from '@/mixins'
export default {
  mixins: [pageMixin],
  data () {
    return {
      imgs: []
    }
  },
  methods: {
    async _init_func () {

    }
  },
  onLoad (options) {
    if (!options.data) return
    var data = decodeURIComponent(options.data)
    this.imgs = data.split('|')
  }
}

</script>
